<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>517电信节</title>
    <link rel="stylesheet" href="./assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="./assets/css/baozhz.css">
    <script src="./assets/css/bootstrap.min.js"></script>
    <script src="./assets/css/jquery.min.js"></script>
    <style>
        /* 导航栏 */
        *{
            text-align: center;
        }
        .header{
            margin-top: 2rem;
            background: #fff;
            width: 100%;
            height: 3rem;
            position: relative;
        }
        .header .header-left img{
            width: 172px;
            height: 70px;
            cursor: pointer;
            transition: all 0.2s;
            transform: scale(1);
            
        }
        .header .header-left img:hover{
            transform: scale(1.2);
            opacity: 1.2;
        }
        .header .header-center{
            font-size: 24rem;
             
        }
        .header .header-center div{
            cursor: pointer;
            transition: all 0.2s;
            transform: scale(1);
        }
        .header .header-center div:hover{
            color: #c91523;
            transform: scale(1.2);
        }
        .header .header-rigth{
            padding-top: 3px;
        }
        .header .header-rigth input{
            height:3rem;
            width: 20rem;
            border: none;
            
            margin-top:4px;
        }
        
        .header .header-rigth button{
            margin-left: -5px;
            background: #fff;
            border: 1px solid rgb(143, 142, 142);
            transition: all 0.2s;

            
        }
        .header .header-rigth button:hover{
            border: 1px solid #c91523;
        }
        .header .header-rigth button img{
            height:28px;
            width: 28px;
            margin-top: -8px;
            transition: all 0.2s;
            transform: scale(1);
            
        }
        .header .header-rigth button img:hover{
            transform: scale(1.2);
        }
       
        .header  .mobi{
            height:48px;
            width: 47px;
            position: absolute;
            right: 4%;
            top: -100%;
             display: none;
            cursor: pointer;
            transition: all 0.2s;
            transform: scale(1);
        }
        .header  .mobi img{
            height:50px;
            width: 45px;
            position: absolute;
            right: 4%;
            top: -4%;
            cursor: pointer;
            transition: all 0.2s;
            transform: scale(1);
        }
        .header  .mobi img:hover{
            transform: scale(1.2);
        }
        .banner{
        margin:0;
        padding:0;
        /* 不要让用户选中 */
        user-select: none;
}

@media screen and (max-width:800px){
             .header .mobi{
               display: block; 
            }
            #mobi:checked ~ .header-center{
                display: block;
                opacity: 1;
            }
            .header .header-center{
                z-index: 2;
                color: #FFF;
               
                
                margin-top: 4rem;
                display: none;
                
            }

            .header .header-center div h4{
                height: 100%;
                width: 110%;
                font-size: 15px;
                margin: 0;
                padding: 20px 0;
                line-height: 0.9rem;
                background: rgba(214, 211, 211, 0.3);
            }
            .header .header-rigth{
                display: none;
            }
            .banner{
                display: block;
            }
            .banner .more{
                display: none;
            }
           
}



/* 轮播图 */
.banner ul,li{
    list-style: none;
}

.banner{
    display: block;
    width: 100%;
    height: 100%;
}
.banner .photo{
    
    height:560px;
    margin:0 auto;
    margin-top:5rem;
    /* overflow: hidden; */
    position: relative;
}
.banner .img{
    width: 100%;
    height:100%;
    position: absolute;
    left:0;
    top:0;
    /* display 是一个固定的值 不像是opacity 是一个范围的值 */
    /* display: none; */
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all ease-in-out .3s;
}

.banner .img img{
    width:106%;
    height:100%;
    margin-left: -5%;
}
.banner .action label{
    position: absolute;
    top:0;
    font-size:100px;
    color:#fff;
    cursor: pointer;
    display: inline-block;
    height:560px;
    line-height:560px;
    width:100px;
    background:rgba(255,255,255,.5);
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity linear .3s;
    text-shadow:0 0 15px rgb(51,51,51);
}

.banner .action label:first-child{
    left:0;
}

.banner .action label:last-child{
    right:0;
}

.banner input[name="photo"]:checked + li .img{
    /* display: inline-block; */
    opacity: 1;
    transform:scale(1) rotate(720deg);
}

.banner input[name="photo"]:checked + li .action label{
    display: inline-block;
}

/* .banner .img:hover + .action label{
    opacity: .5;
} */

.banner .action label:hover{
    opacity: 1;
}


.banner .more{
    position: absolute;
    width:100%;
    height:60px;
    left:0;
    bottom:15px;
    text-align: center;
}

.banner .more label{
    display: inline-block;
    width:20px;
    height:20px;
    background:rgb(212, 104, 104);
    border-radius: 100px;
    cursor: pointer;
    transition: all linear .1s;
    margin-right:5px;
    transform: scale(1);
}

.banner .more label:hover{
    background:#FFF;
    transform: scale(1.3);
}

#photo1:checked ~ .more label[for="photo1"],#photo2:checked ~ .more label[for="photo2"],#photo3:checked ~ .more label[for="photo3"],#photo4:checked ~ .more label[for="photo4"]{
    background:#FFF;
    transform: scale(1.3);
}
@media screen and (max-width:700px){
    .banner .photo{
        height: 240px;
    }
    .bar img{
        height: 200%;
        
    }
    .banner .img img {
        width: 109%;
    }
    .banner2{
        height: 250px;
    }
    .banner2 .img img {
    width: 364%;
    height: 61%;
    margin-left: -60%;
    }
.banner .action label{
    height: 300px;
}
}
/* 产品 */
.bba{
    width: 100%;
    height: 70px;
    line-height: 70px;
    padding-top: 21px;
    background: #091249;
}
.pg{
    width: 240px;
    height: 35px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 18px;
    line-height: 35px;
    background: #ff6600;
    color: #f5e931;
    border-radius: 35%;
}
.bar{
    position: relative;
   
}
.bar .box{
    position: absolute;
    left: 34%;
    bottom: 15%;
    width: 11%;
    height: 11.5%;
    cursor: pointer;
    transform: scale(1);
    transition: all linear .1s;
}
.bar .box:hover{
    transform: scale(1.2);
}
/* 导航栏 */
.baropk{
    cursor: pointer;
}
/* 手机产品轮播图 */
.banner2{
    background: #091249;
    width: 100%;
    height:600px;
    padding-bottom: 30px;
}

.banner2 .io{
    width: 100%;
    height:570px;
    /* display 是一个固定的值 不像是opacity 是一个范围的值 */
    /* display: none; */
}
.banner2 img{
    margin-top: 15px;
}
@media screen and (max-width:600px){
    .pg{
        width: 109px;
        height: 30px;
        font-size: 11px;
    }
    .bba{
        height: 51px;
        padding-top:12px;
    
    }
    .banner2{
        height: 370px;
    }
    .banner2 img{
    width: 100%;
    height: 63%;
    }
}
#headerx1 a{
    color: black;    
}



    </style>
    <script>
    window.onload=function(){
       var  headerx1=document.getElementById("headerx1");
       var  iocnx1=document.getElementById("iocnx1");
       iocnx1.onclick=function(){
           if(headerx1.style.display=='none'){
               headerx1.style.display="block";
               iocnx1.style.transform='rotate(-90deg)'
           }else
           {
            headerx1.style.display="none";
            iocnx1.style.transform='rotate(0deg)'
            
           }  

        } 
        window.onresize=function(){
            if(document.body.clientWidth>=800){
            headerx1.style.display="block";
        }else{
            headerx1.style.display="none";

        }
        }
        window.onresize=function(){
            if(document.body.clientWidth<=800){
            headerx1.style.display="none";
        }else{
            headerx1.style.display="block";

        }
        }
    }
    </script>
</head>
<body>
    <!-- 全部网页 -->
    <div class="wraper">
        <!-- 头部导航栏 -->
        <header class="header row">
            <div class="header-left col-md-3 col-md-offset-1"><img src="./assets/images/7_03.jpg" alt=""></div>
            <div class="header-center col-md-4" id="headerx1"  >
                <div class="col-md-2 "><h4><a href="#top">首页</a></h4></div>
                <div class="col-md-2 "><h4><a href="#bb">推荐</a></h4></div>
                <div class="col-md-2 "><h4><a href="#ss">手机</a></h4></div>
                <div class="col-md-2 "><h4><a href="#kk">SIM</a></h4></div>
                <div class="col-md-2 "><h4><a href="#vv">反馈</a></h4></div>
                </div>
            <div class="header-rigth col-md-3">
                
                <button>
                    <input type="text" value="买保险 送额度"/>
                    <img src="./assets/images/search.png" alt="">
                </button>
                    
                
            </div>
            <input type="checkbox"  id="mobi" hidden />
            <label for="mobi" class="mobi"><img id="iocnx1" src="./assets/images/menu.png" alt=""></span></label>
        </header>

        <!-- 轮播图 -->
        <div class="banner ">
            <ul class="photo row">
                <input type="radio" name="photo" id="photo1"  hidden />
                <li>
                    <div class="img col-md-12">
                        <img src="./assets/images/1_01.jpg" />
                    </div>
                    <div class="action col-md-offset-2">
                        <label for="photo4">&lt;</label>
                        <label for="photo2">&gt;</label>
                    </div>
                </li>
        
                <input type="radio" name="photo" id="photo2" hidden />
                <li>
                    <div class="img col-md-12">
                        <img src="./assets/images/2_01.jpg" />
                    </div>
                    <div class="action col-md-offset-2">
                        <label for="photo1">&lt;</label>
                        <label for="photo3">&gt;</label>
                    </div>
                </li>
        
                <input type="radio" name="photo" id="photo3" checked hidden />
                <li>
                    <div class="img col-md-12">
                        <img src="./assets/images/8_01.jpg" />
                    </div>
                    <div class="action col-md-offset-2">
                        <label for="photo2">&lt;</label>
                        <label for="photo4">&gt;</label>
                    </div>
                </li>
                
                <input type="radio" name="photo" id="photo4" hidden />
                <li>
                    <div class="img col-md-12">
                        <img src="./assets/images/3_01.jpg" />
                    </div>
                    <div class="action col-md-offset-2">
                        <label for="photo3">&lt;</label>
                        <label for="photo1">&gt;</label>
                    </div>
                </li>
            
                <div class="more">
                    <label for="photo1"></label>
                    <label for="photo2"></label>
                    <label for="photo3"></label>
                    <label for="photo4"></label>
                </div>
            </ul>
        </div>
        <!-- 推荐 -->
        <div class="bba" id="bb"><div class="pg">推荐</div></div>
        <div class="bar">
            <div><img width="100%"  src="./assets/images/6_02.jpg" alt="">
                <img class="box" src="./assets/images/11_04.jpg" alt=""></div>
         </div>
         <!-- 导航栏 -->
        <div class="baropk">
           <div><img width="100%" src="./assets/images/5_03.jpg" alt=""> </div>
           
        </div>
       
        <!-- 手机 -->
        <div class="bba" id="ss"><div class="pg">手机</div></div>
        <div class="banner2 ">
            <div class="io">
                <img src="./assets/images/06.gif" />
            </div>
        </div>
        
        <!-- SIM卡 -->
        <div class="bba" id="kk"><div class="pg">SIM</div></div>
        <div id="pp">
            <div class="ww">
            <input type="radio" name="box" id="front" hidden/>
            <label for="front">语音卡</label>
            <input type="radio" name="box" id="back" hidden/>
            <label for="back">小流量卡</label>
            <input type="radio" name="box" id="left" hidden/>
            <label for="left">大流量卡</label>
            <input type="radio" name="box" id="right" hidden/>
            <label for="right">iFree卡</label>
            <input type="radio" name="box" id="top" hidden/>
            <label for="top">语音卡</label>
            <input type="radio" name="box" id="bottom" hidden/>
            <label for="bottom">iFree卡</label>
            <input type="radio" name="box" id="big" hidden/>
            <label for="big">放大</label>
            <input type="radio" name="box" id="small" hidden/>
            <label for="small">缩小</label>
            <input type="radio" name="box" id="open" hidden/>
            <label for="open">展开</label>
        
            <!-- 撑开 -->
            <div class="line"></div>
            <!-- 3d空间 -->
            <div class="visews">
                <!-- 3d元素 -->
                <div class="box">
                    <!-- 正方体六个面 -->
                    <div class="face front">
                        <img src="./assets/images/20.gif"/ >
                    </div>
                    <div class="face back">
                        <img src="./assets/images/21.gif" />
                    </div>
                    <div class="face left">
                        <img src="./assets/images/22.gif" />
                    </div>
                    <div class="face right">
                        <img src="./assets/images/23.gif" />
                    </div>
                    <div class="face top">
                        <img src="./assets/images/21.gif" />
                    </div>
                    <div class="face bottom">
                        <img src="./assets/images/20.gif" />
                    </div>
                </div>
            </div>
        </div>
    </div>
        <div class="sds">
            <img src="./assets/images/07.gif">
        </div> 
         <!-- 反馈 -->
         <div class="ba" id="vv"><div class="pt">反馈</div></div>
         <div id="po">
            <div class="box1" >
                <p class="bn">您有什么需要可以向我们提出意见，我们会积极的为您解决</p>
            </div>
            <div><input type="text" placeholder="请输入你的电话" id="pu"></div>
            <div class="box2"><input type="text"  placeholder="请输入你的意见" id="pi"></div>
            <button id="py">提交</button>
        </div>
</div>
</body>
<script>
      $(function(){  
        // a href == id 
        //锚点跳转滑动效果  
        $('a[href*=#],area[href*=#]').click(function() {  
            console.log(this.pathname)  
            if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {  
                var $target = $(this.hash);  
                $target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']');  
                if ($target.length) {  
                    var targetOffset = $target.offset().top;  
                    $('html,body').animate({  
                                scrollTop: targetOffset  
                            },  
                            1000);  
                    return false;  
                }  
            }  
        });  
    })
    $("#py").click(function(){
      var pj=$("#pu").val();
      var pq=$("#pi").val();
       if(pj == '',pq ==''){
           alert("请输入您的名字和邮箱既内容");
       }else{

           alert("提交成功");
       }
  })
</script>
</html>